home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / smail-3.1.28 / src / child.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-11  |  910 b   |  29 lines

  1. /* @(#)src/child.h    1.3 7/11/92 11:48:03 */
  2.  
  3. /*
  4.  *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
  5.  *    Copyright (C) 1992  Ronald S. Karr
  6.  * 
  7.  * See the file COPYING, distributed with smail, for restriction
  8.  * and warranty information.
  9.  */
  10.  
  11. /*
  12.  * child.h:
  13.  *    interface file for the child process control functions in child.c.
  14.  */
  15.  
  16. /* bit values for the flag parameter to open_child */
  17. #define CHILD_DUPERR    0x0001        /* duplicate stdout to stderr */
  18. #define CHILD_DEVNULL    0x0002        /* use "/dev/null" */
  19. #define CHILD_RETRY    0x0004        /* retry the fork() if it failes */
  20. #define CHILD_MINENV    0x0008        /* supply a default minimum env */
  21. #define CHILD_NOCLOSE    0x0010        /* don't close extraneous fd's */
  22.  
  23. #ifndef    FORK_RETRIES
  24. # define FORK_RETRIES    10        /* default, 10 retries */
  25. #endif    /* FORK_RETRIES */
  26. #ifndef    FORK_INTERVAL
  27. # define FORK_INTERVAL    30        /* default, 30 seconds */
  28. #endif    /* FORK_INTERVAL */
  29.